package Day04;
import javax.xml.bind.SchemaOutputResolver;//不会！
import java.util.Scanner;
import java.util.SortedMap;

public class 标准训练 {
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);//创建一个扫描仪
        //1)
        /*
        int com=scan.nextByte();

        switch (com){
            case 1:
                System.out.println("取￥操作");
                break;
            case 2:
                System.out.println("存￥操作");
            case 3:
                System.out.println("抢￥操作");
                break;
            case 4:
                System.out.println("返回上个页面操作");
                break;
            default:
                System.out.println("取消操作");
        }*/
        //2)
       // Scanner scan =new Scanner(System.in);
        /*int num =(int) (Math.random()*1000+1);
        int gue=scan.nextInt();
        System.out.println("猜！");
        while(num!=gue){
            if(num<gue){
                System.out.println("不对奥！小了");
            }else{
                System.out.println("不对奥！大了！");
            }
            System.out.println("猜！");
            gue=scan.nextInt();
        }
        System.out.println("猜对了奥！");*/
        //3)
        //Scanner scan =new Scanner(System.in);
        int num=(int) (Math.random()*1000+1);



       /*int gue;

        do{
            System.out.println("猜");
            gue=scan.nextInt();
            if(gue>num){
                System.out.println("NO，大了");
            }else if(gue<num){
                System.out.println("NO,小了");
            }else{
                System.out.println("对了奥！");
            }

        }while (gue!=num);*/
        //4)
        /*for(int c=0;c<5;c++){
            System.out.println("团结就是力量");
        }
        for (int c=0;c<=9;c++){
            System.out.println(c+"*9="+c*9);
        }
        for(int c=1;c<=9;c+=2){
            System.out.println(c+"*9="+c*9);
        }
        for (int c=9;c>0;c--){
            System.out.println(c+"*9="+c*9);
        }
        */

    }
}
